package com.newcapec.shiro.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户登录实体
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UserInfo implements Serializable {

    private Integer id;
    private String username;
    private String password;
    private String realname;
    private String salt;
    /**
     * 用户的令牌
     */
    private Object token;
}
